package com.mf.all.entity.req.search.customer;

import com.mf.all.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 客户联系人查询条件
 *
 * @date 2025-04-02 22:36:46
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqCustomerContacts extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "客户id")
    @NotNull(message = "客户id不能为空")
    private Integer customerId;
    @Schema(description = "联系人名称")
    private String contactsName;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "0-非默认；1-默认")
    private Integer isDefault;
    @Schema(description = "1-启用；0-禁用")
    private Integer status;

}
